 /**
 * Description: 生成业务表业务接口
 * Copyright:Copyright 2018 nfky.com. All rights reserved
 * @author:xk
 * @since:0.0.1
 * Create at:2018-01-18 下午 16:03:50
 *  
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-01-18   xk       0.0.1     Initial
 */
package com.metro.generator.gen.service.inf;

import com.metro.core.service.IService;
import com.metro.core.vo.LabelValue;
import com.metro.generator.gen.beans.vo.GenTable;
import com.metro.paperless.sys.beans.vo.SysAttachment;

import java.util.List;

 /**
 * 生成业务表业务接口<br>
 *
 * @author xk
 * @since [0.0.1]
 * @version [0.0.1, 2018-01-18]
 */
public interface IGenTableService extends IService<GenTable>{

     /**
      * 查询系统现有表已键值对返回
      * @return
      */
     List<LabelValue> queryAllTableAsLabelValue();

     GenTable queryTableColumnFromDbSchema(String tableName);

     /**
      * 生成代码
      * @param ids id字符串
      * @return 生成的源码文件位置信息
      */
     SysAttachment genCode(String ids);
 }